package com.club.subject.domain.service;

import com.club.subject.domain.entity.SubjectCategoryBO;
import com.club.subject.domain.entity.SubjectLabelBO;

import java.util.List;

/**
 * @Author: sfy
 * @Date: 2024/4/11 12:33
 * @Description:
 */
public interface SubjectLabelDomainService {

    /**
     * 新增标签
     *
     * @param subjectCategoryBO
     * @return
     */
    Boolean add(SubjectLabelBO subjectCategoryBO);

    Boolean update(SubjectLabelBO subjectLabelBO);

    Boolean delete(SubjectLabelBO subjectLabelBO);

    /**
     * 查询分类下标签
     *
     * @param subjectLabelBO
     * @return
     */
    List<SubjectLabelBO> queryLabelByCategoryId(SubjectLabelBO subjectLabelBO);
}
